c# integer part of float

98

csharp get integer part of number -

Math.Truncate(number)

c# integer part of float -

GetIntPart(343564564.4342) >> 343564564
GetIntPart(-323489.32) >> -323489
GetIntPart(324) >> 324

Comments

Submit
0 Comments